
package com.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;








import com.Bean.wd_orderModel;
import com.Dao.wd_orderModelMapper;
import com.Dao.wduserModelMapper;
import com.Service.orderService;

@Service
public class orderServiceImpl implements orderService{
	@Autowired
	
	private wd_orderModelMapper dao;

	public int deleteByPrimaryKey(String orderId) {
		
		return dao.deleteByPrimaryKey(orderId);
	}

	public int insert(wd_orderModel record) {
		
		return dao.insert(record);
	}

	public int insertSelective(wd_orderModel record) {
	
		return dao.insertSelective(record);
	}

	public wd_orderModel selectByPrimaryKey(String orderId) {
		
		return dao.selectByPrimaryKey(orderId);
	}

	public int updateByPrimaryKeySelective(wd_orderModel record) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int updateByPrimaryKey(wd_orderModel record) {
		// TODO Auto-generated method stub
		return dao.updateByPrimaryKey(record);
	}

	public List<wd_orderModel> getList(wd_orderModel bean) {
		
		return dao.getList(bean);
	}

	public List<wd_orderModel> selectList(wd_orderModel bean) {
		// TODO Auto-generated method stub
		return dao.selectList(bean);
	}

}